import axios from "axios";
import config from "@/util/config.js";

//创建一个axios的对象
const progressAPI = {
    mdBaseUrl: config.proUrl+"/pro",
    mdProMat: "/process",
    timeout: 5000,
    getProgress(callback) {
        axios.get(this.mdBaseUrl + this.mdProMat + "/queryAll", ).then((res) => {
            callback(res.data);
        })
    }
}
export default progressAPI;